package com.duobaoyu.dby.supply.db.entity.invoice;

import com.baomidou.mybatisplus.annotation.*;
import com.duobaoyu.dby.common.mybatis.annotation.IdentifierShort;
import com.duobaoyu.dby.common.mybatis.base.BaseEntity;
import lombok.*;

/**
 * 发票设置
 *
 * @author jz
 * @version 1.0
 * @date 2022/6/5 09:33
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("sc_invoice_setting")
@EqualsAndHashCode(callSuper = true)
public class InvoiceSetting extends BaseEntity {

	/**
	 * id
	 */
	@IdentifierShort
	@TableId(value = "id", type = IdType.ASSIGN_ID)
	private Long id;

	/**
	 * 渠道code
	 */
	private String channelCodes;

	/**
	 * 发票抬头
	 */
	private String invoiceCompanyName;

	/**
	 * 收票人姓名
	 */
	private String invoiceName;

	/**
	 * 收票人手机号
	 */
	private String invoicePhone;

	/**
	 * 收票人地址省
	 */
	private String invoiceProvinceName;

	/**
	 * 收票人地址城市
	 */
	private String invoiceCityName;

	/**
	 * 收票人地址区县
	 */
	private String invoiceCountyName;

	/**
	 * 收票人地址乡镇
	 */
	private String invoiceTownName;

	/**
	 * 收票人地址省
	 */
	private String invoiceProvinceCode;

	/**
	 * 收票人地址城市
	 */
	private String invoiceCityCode;

	/**
	 * 收票人地址区县
	 */
	private String invoiceCountyCode;

	/**
	 * 收票人地址乡镇
	 */
	private String invoiceTownCode;

	/**
	 * 收票人地址明细
	 */
	private String invoiceAddress;

	/**
	 * 企业注册名称
	 */
	private String invoiceRegCompanyName;

	/**
	 * 纳税人编码
	 */
	private String invoiceTaxpayerCode;

	/**
	 * 企业注册地址
	 */
	private String invoiceRegAddress;

	/**
	 * 企业注册电话
	 */
	private String invoiceRegPhone;

	/**
	 * 企业开户银行营业点
	 */
	private String invoiceRegBank;

	/**
	 * 企业开户银行账号
	 */
	private String invoiceRegBankAccount;

	/**
	 * 版本号-用作乐观锁
	 */
	@Version
	private Integer version;

	/**
	 * 是否删除 0-否 1-是
	 */
	@TableLogic
	private Boolean delFlag;

}
